package com.example.alldemo.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Log {
    private static final Logger LOG = LoggerFactory.getLogger(Log.class);

    @Bean
    public void logMethod() {
        LOG.info("==========print log==========");
    }

}
